package channels

import (
	"context"

	"gitee.com/liuxuezhan/ar-platform/assets-api/internal/svc"
	"github.com/zeromicro/go-zero/core/logx"
)

type WithdrawChannelQueryLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

// 提现渠道查询
func NewWithdrawChannelQueryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WithdrawChannelQueryLogic {
	return &WithdrawChannelQueryLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

//
// func (l *WithdrawChannelQueryLogic) WithdrawChannelQuery(req *types.WithdrawChannelQueryRequest) (resp *types.WithdrawChannelQueryResponse, err error) {
//
//	banklogic := user_assets.NewUserBankInfoLogic(l.ctx, l.svcCtx)
//	bankInfo, err := banklogic.UserBankInfo(&types.UserBankInfoRequest{UserId: req.UserId})
//	ewalletlogic := user_assets_ewallet.NewUserEWalletInfoLogic(l.ctx, l.svcCtx)
//	ewalletInfo, err := ewalletlogic.UserEWalletInfo(&types.UserEWalletsInfoRequest{UserID: req.UserId})
//	usdtWalletLogic := user_assets_usdt.NewUserUSDTWalletInfoLogic(l.ctx, l.svcCtx)
//	usdtWalletInfo, err := usdtWalletLogic.UserUSDTWalletInfo(&types.UserUSDTWalletsInfoRequest{UserID: req.UserId})
//	pixWalletLogic := user_assets_pix.NewUserPixWalletInfoLogic(l.ctx, l.svcCtx)
//	pixWalletInfo, err := pixWalletLogic.UserPixWalletInfo(&types.UserPixWalletsInfoRequest{UserID: req.UserId})
//	response := types.WithdrawChannelQueryResponse{
//		UserBankInfoList:        bankInfo.UserBankInfo,
//		UserUsdtWalletsInfoList: usdtWalletInfo.UserUSDTWalletsInfoList,
//		UserPixWalletsInfoList:  pixWalletInfo.UserPixWalletsInfoList,
//		UserEWalletsInfoList:    ewalletInfo.UserEWalletsInfoList,
//	}
//
//	return &response, nil
// }
